package com.xx.bili.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xx.common.annotation.Excel;
import com.xx.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 哔哩下单点赞对象 bili_like
 *
 * @author ruoyi
 * @date 2024-09-28
 */
public class BiLiLike extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 名称
     */
    private String name;

    /**
     * 作品链接
     */
    private String url;

    /**
     * oid
     */
    private String oid;

    /**
     * rpid
     */
    private String rpid;

    /**
     * 点赞数量
     */
    private Integer count;

    /**
     * 操作类型  0:点赞  1：点踩
     */
    private String handleType;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getRpid() {
        return rpid;
    }

    public void setRpid(String rpid) {
        this.rpid = rpid;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getHandleType() {
        return handleType;
    }

    public void setHandleType(String handleType) {
        this.handleType = handleType;
    }

    @Override
    public String toString() {
        return "BiLiLike{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", oid='" + oid + '\'' +
                ", rpid='" + rpid + '\'' +
                ", count=" + count +
                ", handleType='" + handleType + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
